<div class="col_02" id="rightside">
	<div class="col_02_01" id="sysContent_box">
		<div class="main-wrap">
			<div class="m-t">
<h2>Search Advisor</h2>
			</div>
			<div class="m-c">

       <form action=""  method="GET" name="search" >
		<table width="100%" border="0" cellpadding="0" cellspacing="5"  class="table_style">
			<tr>
				
				<td>Primary Service(State):</td>
				<td>Primary Service(Country):</td>
				<td>Industry/Category:</td>
			</tr>
			<tr>	
			      
				<td>
					<select name="state" >
						{html_options selected=$s.state options=$state}
					</select>
				</td>
				<td>
					<select name="country">
						{html_options selected=$s.country options=$country}
					</select>
				</td>
				<td>
					<select name="industry">
						{html_options selected=$s.industry options=$industry}
					</select>
				</td>
				
			</tr>
			<tr>
			        <td>Specialty:</td>
				<td>First Name:</td>
				<td>Last Name:</td>
			</tr>
			<tr>
				<td>
					<input  type="text" name="specialty" style="width:175px" maxlength="200" value="{$s.specialty}" />
				</td>
				<td>
					<input  type="text" name="firstname" style="width:175px" maxlength="200" value="{$s.firstname}" />
				</td>
				<td>
					<input  type="text" name="lastname" style="width:175px" maxlength="200" value="{$s.lastname}" />
				</td>
			</tr>
			<tr>
			        <td colspan=2>&nbsp;</td>
				<td>Sort Results By:</td>
			</tr>
			<tr>
			        <td colspan=2>&nbsp;</td>
				<td>
					<select name="orderby" size="">
						{html_options selected=$s.orderby options=$rec_findadvisor}
					</select>
				</td>
			</tr>
			<tr>
				<td colspan="3" align="center">
					<input name="action" value="search" type="hidden">
					<input class="bginput button-secondary" accesskey="y" type="submit" name="submit" value=" Search ">
					<input class="bginput button-secondary" accesskey="r" type="button" name="Input" value=" Clear "  onclick="turnto('findadvisor.php')">
				</td>
			</tr>
		</table>
	</form>
</div>
		</div>
</div>
<div class="col_02_02" id="side_box">
	<div class="signIn">
		<h2 class="m_t m_t_gray">Member  Center</h2>
		<div class="m_c">
			<div class="mySigned" id="J_sign_form">
				<div id="loginboxx">
					<p class="info">Welcome, <span class="u_name">{$uname}</span>!</p>
					<p class="lnk_panel"><a href="settings.php" class="lnk_arrow">My Account</a></p>
					
					<p class="lnk_panel"><a href="#" onclick="return ajax_out()" class="lnk_arrow">Sign Out</a><div id="loadp"></div></p>
				</div>
			</div>
		</div>
		<div class="m_f"></div>
	</div>
	{if $isTr}
	<div class="panel_box mt_10">
	<h2 class="m_t m_t_gray">Join a Chat </h2>
	<div class="m_c">
		<div>
			<ul>
				<li><a href="findchats.php">Skype Chat</a></li>
				<li><a href="findwebinars.php">Webinars</a></li>
			</ul>
		</div>
		<p class="info"><a href="#"></a></p>							
	</div>
	<div class="m_f"></div>
	{/if}
</div>
</div>
<div class="clearfix"></div>
<div class="module_box mt_10" id="findResults">
	<div class="m_t"><h2>Search Result:</h2></div>
	<div class="m_c">	{$page}
	  <table width="100%" border="0" cellpadding="4" cellspacing="1" class="tableGrey">
              <tr>
		<th>Name</th>
		<th>Industry</th>
		<th>Specialty</th>
		<th>Service Location</th>
		<th>Years of Exp.</th>
		<th>Spoken Language</th>
		<!-- <th>E-mail</th> -->
              </tr>
	      {section name=custom loop=$advlist}
              <tr class="hotline {cycle values="odd,even"}">
                <td><a href="advisordetail.php?id={$advlist[custom].ad_id}">{$advlist[custom].ad_name|truncate:18:""}</a></td>
                <td>{$advlist[custom].ad_industry}</td>
                <td>{$advlist[custom].ad_specialty}</td>
                <td>{$advlist[custom].ad_location}</td>
		<td>{$advlist[custom].ad_yrexp}</td>
		<td>{$advlist[custom].ad_spoken}</td>
		<!-- <td><a href="mailto:{$advlist[custom].ad_email}">{$advlist[custom].ad_email}</a></td> -->
              </tr>
	      {sectionelse}
               <tr class="hotline {cycle values="odd,even"}">
                <td colspan="6"><font color=red>No data was found for selected field(s).<br>  Try again.  Please note 'Select All' will search for all available data in that field.</font></td>
               </tr>
	      {/section}
          </table>
        {$page} </div>
</div>
</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</section>
